import { createApp } from 'vue';
import {
    Col, Row, Tabbar, TabbarItem, Button, NavBar, Grid,
    GridItem, Cell, CellGroup, Badge, Popup,  Tab, Tabs, 
    List, Search, Dialog, SwipeCell, Sticky, Form, Field,
    Toast, Calendar, Divider, Picker } from 'vant';
import 'vant/lib/index.css';
import App from './App.vue';
import { router } from './router';

const app = createApp(App);
app.use(Col);
app.use(Row);
app.use(Tabbar);
app.use(TabbarItem);
app.use(Button);
app.use(NavBar);
app.use(Grid);
app.use(GridItem);
app.use(Cell);
app.use(CellGroup);
app.use(Badge);
app.use(Popup);
app.use(Tab);
app.use(Tabs);
app.use(List);
app.use(Search);
app.use(Dialog);
app.use(SwipeCell);
app.use(Sticky);
app.use(Form);
app.use(Field);
app.use(Toast);
app.use(Calendar);
app.use(Divider);
app.use(Picker);
// app.use(Vant);
app.use(router);
app.mount('#app');
